package com.ym.medical.service;

import com.github.pagehelper.PageInfo;
import com.ym.core.utils.tkmybatis.IBaseSV;
import com.ym.medical.domain.entity.NavDestHisEntity;
import com.ym.medical.domain.entity.NavDestYjEntity;
import com.ym.medical.domain.param.NavDestHisParam;
import com.ym.medical.domain.vo.NavDestHisVo;

import java.util.List;
import java.util.Map;

/**
 * ComputerName:LAPTOP-I6GKDIFQ
 * Author:admin
 * Date: 2019-06-17
 * Time: 09:23:56
 * 服务接口
 */
public interface INavDestHisSV extends IBaseSV<NavDestHisEntity> {
    /**
     * 查询his导航数据
     * @param navDestHisModel
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<NavDestHisVo> listHISNavigateData(NavDestHisParam navDestHisModel, int pageNum, int pageSize);

    /**
     * 根据his的医院编码查询云景的相关信息
     * @param hosCode
     * @param deptName
     * @param pageNo
     * @param limit
     * @return
     */
    PageInfo<NavDestYjEntity> selectYjDataByHisHosCode(String hosCode, String deptName, String deptType, int pageNo, int limit);

    /**
     *  HIS科室信息导入
     * @param navDestHisList
     * @return
     */
    Map<String, Object> uploadHisDeptInfo(List<NavDestHisEntity> navDestHisList, Long userId);
}
